﻿
@{
    Layout = null;
}

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
    <title>首页</title>
    <link href="~/Content/css/main.css" rel="stylesheet" type="text/css" />

    <script type="text/javascript" src="~/Content/js/jquery.min.js"></script>

    <script type="text/javascript" src="~/Content/js/plugins/spinner/ui.spinner.js"></script>
    <script type="text/javascript" src="~/Content/js/plugins/spinner/jquery.mousewheel.js"></script>

    <script type="text/javascript" src="~/Content/js/jquery-ui.min.js"></script>

    <script type="text/javascript" src="~/Content/js/plugins/charts/excanvas.min.js"></script>
    <script type="text/javascript" src="~/Content/js/plugins/charts/jquery.flot.js"></script>
    <script type="text/javascript" src="~/Content/js/plugins/charts/jquery.flot.orderBars.js"></script>
    <script type="text/javascript" src="~/Content/js/plugins/charts/jquery.flot.pie.js"></script>
    <script type="text/javascript" src="~/Content/js/plugins/charts/jquery.flot.resize.js"></script>
    <script type="text/javascript" src="~/Content/js/plugins/charts/jquery.sparkline.min.js"></script>

    <script type="text/javascript" src="~/Content/js/plugins/forms/uniform.js"></script>
    <script type="text/javascript" src="~/Content/js/plugins/forms/jquery.cleditor.js"></script>
    <script type="text/javascript" src="~/Content/js/plugins/forms/jquery.validationEngine-en.js"></script>
    <script type="text/javascript" src="~/Content/js/plugins/forms/jquery.validationEngine.js"></script>
    <script type="text/javascript" src="~/Content/js/plugins/forms/jquery.tagsinput.min.js"></script>
    <script type="text/javascript" src="~/Content/js/plugins/forms/autogrowtextarea.js"></script>
    <script type="text/javascript" src="~/Content/js/plugins/forms/jquery.maskedinput.min.js"></script>
    <script type="text/javascript" src="~/Content/js/plugins/forms/jquery.dualListBox.js"></script>
    <script type="text/javascript" src="~/Content/js/plugins/forms/jquery.inputlimiter.min.js"></script>
    <script type="text/javascript" src="~/Content/js/plugins/forms/chosen.jquery.min.js"></script>

    <script type="text/javascript" src="~/Content/js/plugins/wizard/jquery.form.js"></script>
    <script type="text/javascript" src="~/Content/js/plugins/wizard/jquery.validate.min.js"></script>
    <script type="text/javascript" src="~/Content/js/plugins/wizard/jquery.form.wizard.js"></script>

    <script type="text/javascript" src="~/Content/js/plugins/uploader/plupload.js"></script>
    <script type="text/javascript" src="~/Content/js/plugins/uploader/plupload.html5.js"></script>
    <script type="text/javascript" src="~/Content/js/plugins/uploader/plupload.html4.js"></script>
    <script type="text/javascript" src="~/Content/js/plugins/uploader/jquery.plupload.queue.js"></script>

    <script type="text/javascript" src="~/Content/js/plugins/tables/datatable.js"></script>
    <script type="text/javascript" src="~/Content/js/plugins/tables/tablesort.min.js"></script>
    <script type="text/javascript" src="~/Content/js/plugins/tables/resizable.min.js"></script>

    <script type="text/javascript" src="~/Content/js/plugins/ui/jquery.tipsy.js"></script>
    <script type="text/javascript" src="~/Content/js/plugins/ui/jquery.collapsible.min.js"></script>
    <script type="text/javascript" src="~/Content/js/plugins/ui/jquery.prettyPhoto.js"></script>
    <script type="text/javascript" src="~/Content/js/plugins/ui/jquery.progress.js"></script>
    <script type="text/javascript" src="~/Content/js/plugins/ui/jquery.timeentry.min.js"></script>
    <script type="text/javascript" src="~/Content/js/plugins/ui/jquery.colorpicker.js"></script>
    <script type="text/javascript" src="~/Content/js/plugins/ui/jquery.jgrowl.js"></script>
    <script type="text/javascript" src="~/Content/js/plugins/ui/jquery.breadcrumbs.js"></script>
    <script type="text/javascript" src="~/Content/js/plugins/ui/jquery.sourcerer.js"></script>

    <script type="text/javascript" src="~/Content/js/plugins/calendar.min.js"></script>
    <script type="text/javascript" src="~/Content/js/plugins/elfinder.min.js"></script>

    <script type="text/javascript" src="~/Content/js/custom.js"></script>

    <script type="text/javascript" src="~/Content/js/charts/chart.js"></script>

    <!-- Shared on MafiaShare.net  --><!-- Shared on MafiaShare.net  -->
</head>

<body>

    <!-- Left side content -->
    <div id="leftSide">
        <div class="logo"><a href="#"><img src="~/Content/images/logo.png" alt="" /></a></div>
        <!-- Search widget -->

        <div class="sidebarSep"></div>

        <!-- Next update progress widget -->
        <div class="nextUpdate">
            <ul>
                <li>下次更新时间在:</li>
                <li>23 小时 14 分</li>
            </ul>
            <div class="pWrapper"><div class="progressG" title="78%"></div></div>
        </div>

        <div class="sidebarSep"></div>
    <ul id="menu" class="nav">
      
       @Html.Raw(ViewBag.li)
       
    </ul>
    </div>

    <div id="rightSide">
        <div class="topNav">
            <div class="wrapper">
                <div class="welcome"><a href="#" title=""><img src="images/userPic.png" alt="" /></a><span>你好。主人</span></div>
                <div class="userNav">
                    <ul>
                        <li><a href="#" title=""><img src="images/icons/topnav/profile.png" alt="" /><span>个人中心</span></a></li>
                        <li><a href="#" title=""><img src="images/icons/topnav/tasks.png" alt="" /><span>任务</span></a></li>
                        <li class="dd">
                            <a title=""><img src="images/icons/topnav/messages.png" alt="" /><span>消息</span><span class="numberTop">8</span></a>
                            <ul class="userDropdown">
                                <li><a href="#" title="" class="sAdd">new message</a></li>
                                <li><a href="#" title="" class="sInbox">inbox</a></li>
                                <li><a href="#" title="" class="sOutbox">outbox</a></li>
                                <li><a href="#" title="" class="sTrash">trash</a></li>
                            </ul>
                        </li>
                        <li><a href="#" title=""><img src="images/icons/topnav/settings.png" alt="" /><span>设置</span></a></li>
                        <li><a href="/Login/Index" title=""><img src="images/icons/topnav/logout.png" alt="" /><span>退出</span></a></li>
                    </ul>
                </div>
                <div class="clear"></div>
            </div>
        </div>
       
   
        <iframe src="/Main/MainIndex" frameborder="0" style="width:100%;height:800px;" id="iframeMain" name="iframeMain" onload="setIframeHeight(this)"></iframe>
    </div>

    <div class="clear"></div>

</body>
</html>
<script>

    function setIframeHeight(iframe) {
        if (iframe) {
            var iframeWin = iframe.contentWindow || iframe.contentDocument.parentWindow;
            if (iframeWin.document.body) {
                iframe.height = iframeWin.document.documentElement.scrollHeight || iframeWin.document.body.scrollHeight;
            }
        }
    };

    window.onload = function () {
        setIframeHeight(document.getElementById('iframeMain'));
    };
</script>
